home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1599 / 1425 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.8 KB

  1. Date: Sun, 22 May 94 03:45 CDT
  2. From: ekl@sdf.lonestar.org (Evan K. Langlois)
  3. To: mint@atari.archive.umich.edu
  4. Subject: Re-starting GEM
  5.  
  6.  
  7. OK, someone asked how to start/stop GEM without losing memory and such.
  8. Here is a method that works. 
  9.  
  10. I'm sure that everyone knows you can use CNTRL-ALT-C to kill GEM.  If you
  11. started GEM from a SHELL, you get your shell back.  You can sometimes run
  12. a GEM application from the shell after you've killed the GEM desktop.
  13. Since GEM has already initialized the program can still call GEM, however,
  14. sometimes tyhe screen manager or something gets left in a weird state.
  15.  
  16. SO!   Try the following.  Boot into a shell that supports good job control.
  17. I found that sh03 whatever binary was not adequate (I think this is ash).
  18. Bash has funky problems on my console when I run NVDI, so I used TCSH.
  19. You run GEM in the background!!   If TCSH doesn't suspend GEM for TTY input
  20. when you start pressing keys, then simply press CNTRL-ALT-Z to stop GEM.
  21. You will get the standard message about a stopped job.   Type JOBS to get
  22. the job list.  You can use your shell as long as you like now.  To
  23. return to GEM, simply type FG 1 (or whatever job GEM is).  To get back to
  24. the shell, SIGSTOP GEM again.   This doesn't free the memory that GEM
  25. uses, but it's about as close as its gonna get without some really nasty hacks
  26. I think.
  27.  
  28. Like I said, killing GEM and then running a GEM program later sometimes works,
  29. but you gotta be careful (perhaps doing a wind_update(BEG_MCNTL) or something
  30. before the new GEM program would help) as it sometimes fails to work 
  31. properly.  The sigstop method works just as well, although you need to redraw
  32. the screen with something (maybe you can write a GEM desk ACC that saves
  33. the screen and then SIGSTOPs GEM, when it wakes up it could restore the
  34. screen .. maybe?)
  35.  
  36. CYA
  37.  
  38.